package com.attendance.sz.up.entity;

/**
 * 作者：TanTun
 * 时间：2017/2/23
 * 邮箱：32965926@qq.com
 * 描述：Api返回结果实体
 */

public class ApiResult<T> {
    private int result;

    private Error error;

    private T data;

    public void setResult(int result){
        this.result = result;
    }
    public int getResult(){
        return this.result;
    }

    public Error getError() {
        return error;
    }

    public void setError(Error error) {
        this.error = error;
    }

    public void setData(T data){
        this.data = data;
    }
    public T getData(){
        return this.data;
    }
}
